
<div class="section section-small">
<div class="section-header">
<h5>
    Recently Opened Vehicles
<small></small>
</h5>
<ul>
<li style="padding-top:6px;"><a href="info_page.php" class="btn btn-mini">Add a Vehicle</a></li>
</ul>

</div>
<div class="section-body">
<?php 
   
if(mysql_num_rows($vehcile_list))
{  ?>      
<table class="table table-striped table-condensed" id="vehicles-table">
<tbody>
<?php 
while($vehcile = mysql_fetch_object($vehcile_list)) 
{ ?>
<tr>
<td>
    <a href="info_page.php?id=<?php echo $vehcile->vehicle_id  ?>"><small><?php echo "#".$vehcile->vehicle_id ?></small> <?php echo " ".$vehcile->year." ".$vehcile->make." ".$vehcile->model; ?></a>
</td>
<td>
<span class="label"><?php echo $vehcile->status ?></span>

</td>
<td>
    <?php echo $vehcile->first_name ?>
</td>
<td class="ar" style="width:65px">
<?php echo "$".$vehcile->bid_price ?>
</td>
</tr>
<?php }?>
</tbody>
</table>
<ul class="pager">
<li class="next">
<a href="vehicle_list.php?tab=4">All Vehicles
→
</a></li>
</ul>
<?php }
else
{?>
   <div class="row-fluid">
        <div class="span12 ac">
            <div class="data-block" style="margin-top: 85px;">
                <h2 style="color: #999;">No Recent Vehicles</h2>
            </div>
        </div>
        
    </div>
<?php 

} ?>
</div>

</div>
